package com.itxiuyixiu.homework.entity.dao;

import com.itxiuyixiu.homework.entity.model.Admin;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @author 黄磊
 * @date 2020/3/6
 */
public interface AdminDao extends JpaRepository<Admin, String> {
    boolean existsByUsername(String username);
}
